package com.linh.rmi.common;

import java.lang.reflect.Method;

public class AbstractInvocationHandler implements InvocationDelegate {

	@Override
	public Object invoke(Object proxy, String methodName,
			Class<?>[] methodArgs, Object[] args) throws Throwable {
		Method method = getClass().getMethod(methodName, methodArgs);
		return method.invoke(this, args);
	}

}
